package com.xk.timesignature.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 接口状态码枚举
 *
 * @author 空白
 * @date 2022/01/07
 */
@Getter
@AllArgsConstructor
public enum StatusCodeEnum {
    /**
     * 操作失败
     */
    FAIL(50010, "操作失败"),

    /**
     * 操作成功
     */
    SUCCESS(20000, "操作成功");

    /**
     * 状态码
     */
    private final Integer code;

    /**
     * 描述
     */
    private final String desc;

}
